﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace mojoPortal.Web.RS.SBM.AppCode.Lib
{
    public class ShoppingPart
    {
        public int ProductId { get; set; }
        public string ProductName { get; set; }
        public int Quantity { get; set; }
        public decimal UnitPrice { get; set; }
        public int ParentId { get; set; }
        public string ModelNo { get; set; }

        public ShoppingPart(int productid=0, int quantity=0, string productname="", decimal price=0, int parentid=0, string modelno="")
        {
            ProductId = productid;
            ProductName = productname;
            Quantity = quantity;
            UnitPrice = price;
            ParentId = parentid;
            ModelNo = modelno;
        }
    }
}